package com.huiquan.dyad.dao;

import javax.annotation.Resource;

import org.springframework.stereotype.Repository;

import com.huiquan.dyad.domain.Dyad;
import com.huiquan.framework.base.EnhancedBaseDao;
import com.ibatis.sqlmap.client.SqlMapClient;

@Repository
public class DyadDao extends EnhancedBaseDao<Dyad> {

	@Resource(name = "sqlMapClient")
	private SqlMapClient sqlMapClient;

	public static final String space = "DYAD.";

	public DyadDao() {
		super(space);
	}

	public void initStdArray() {
		this.update(space + "INIT_STD_ARRAY", sqlMapClient);
	}

	public void initOSIgnoreP() {
		this.update(space + "INIT_O_S_IGNORE_P", sqlMapClient);
	}

}
